<ol class="breadcrumb" >
    <li> <i class="fa fa-anchor"></i>
        &nbsp;系统管理
    </li>
    <li>修改用户</li>
</ol>

<div class="col-xs-12 info-center">
    <div class="bs-callout bs-callout-warning">
        <h4>
            系统使用单位: <strong>{:C('COLLEGE_NAME')}</strong>
        </h4>
    </div>
</div>

<div class="col-xs-12 info-center">
    <div class="panel panel-mcit">
        <div class="panel-heading" >
            <h5 class="panel-title">修改用户信息</h5>
        </div>
        <div class="panel-body">
            <div class="alert alert-warning">
                <p><i class="fa fa-paperclip"></i>&nbsp;准确填写用户信息</p>
            </div>
            <form class="mcit-dataform" id="data_form" method="post" action="__URL__/editUser">
                <input type="hidden" name="uid" value="{$user.id}">
                <div class="panel-footer">
                    <div class="panel-mcit">

                        <div class="col-xs-6">
                            <div class="input-group">
                                <span class="input-group-addon">姓名</span>
                                <input type="text" id="name" name="name" class="form-control" value="{$member.name}" placeholder="姓名">
                            </div>
                        </div>
                        <div class="clearfix" ></div>
                        <div class="col-xs-6">
                            <div class="input-group">
                                <span class="input-group-addon">性别</span>
                                <select name="sex" id="sex" class="form-control required">
                                    <if condition="$member.sex eq 1">
                                        <option value="1" selected>男</option>
                                        <option value="2">女</option>
                                    <else />
                                        <option value="2" selected>女</option>
                                        <option value="1">男</option>
                                    </if>
                                </select>
                            </div>
                        </div>
                        <div class="col-xs-6">
                            <div class="input-group">
                                <span class="input-group-addon">会员卡号</span>
                                <input type="text" id="user_pay_card" name="user_pay_card" value="{$member.user_pay_card}" class="form-control" placeholder="会员卡号">
                            </div>
                        </div><div class="col-xs-6">
                        <div class="input-group">
                            <span class="input-group-addon">联系电话</span>
                            <input type="text" id="phone" name="phone" class="form-control" value="{$member.phone}" placeholder="联系电话">
                        </div>
                    </div>
                        <div class="col-xs-6">
                            <div class="input-group">
                                <span class="input-group-addon">账号</span>
                                <input type="text" id="account" name="account" class="form-control" value="{$member.account}" placeholder="账号">
                            </div>
                        </div>
                        <div class="clearfix" ></div>

                        <div class="col-xs-6">
                            <button type="submit" class="btn btn-warning"><i class="fa fa-upload"></i>&nbsp;确定保存</button>
                        </div>
                        <div class="clearfix"></div>

                    </div>
                </div>
            </form>
        </div>
    </div>
</div>